package edu.chl.da.ejb.ctrl;

import edu.chl.da.ejb.core.Flight;
import edu.chl.da.ejb.core.HotelSuggestion;
import edu.chl.da.ejb.core.Hotelreservation;
import edu.chl.da.ejb.core.Reservation;
import javax.ejb.Remote;

/**
 *
 * @author Jakob
 */
@Remote
public interface IManageHotel {

    public HotelSuggestion getFirstHotelSuggestion(Flight flight, String toDate) throws NullPointerException;
    public HotelSuggestion getNextHotelSuggestion(HotelSuggestion oldSuggestion) throws NullPointerException;
    public HotelSuggestion getPreviousHotelSuggestion(HotelSuggestion oldSuggestion);
    public Hotelreservation bookSuggestion(HotelSuggestion hotelSuggestion, Reservation reservation) throws NullPointerException;
}
